<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v2.7.2" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>



<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'common.js')); ?>
<script type="text/javascript" src="themes/lianx/js/action.js"></script>
</head>
<body>
<?php echo $this->fetch('library/page_header.lbi'); ?>
<div class="block clearfix">
 <div class="PageLeft f_l">
	 
<?php echo $this->fetch('library/category_tree.lbi'); ?>
<?php echo $this->fetch('library/history.lbi'); ?>
<?php echo $this->fetch('library/promotion_info.lbi'); ?>

	</div>
	<div class="PageRight f_r">
	<?php echo $this->fetch('library/ur_here.lbi'); ?>

	<div class="ModBox2" id="GroupList">
	 <span class="TL"></span>
	 <span class="TR"></span>
	 <span class="BL"></span>
	 <span class="BR"></span>
	 <h2 class="ModTit"><?php echo $this->_var['lang']['group_buy_goods']; ?></h2>
	 <div class="grouplist clearfix">
			 <?php if ($this->_var['gb_list']): ?>
				<?php $_from = $this->_var['gb_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'group_buy');if (count($_from)):
    foreach ($_from AS $this->_var['group_buy']):
?>
				<div class="group_buy_list clearfix">
					<div class="f_l groupImg">
						<a href="<?php echo $this->_var['group_buy']['url']; ?>"><img src="<?php echo $this->_var['group_buy']['goods_thumb']; ?>" border="0" alt="<?php echo htmlspecialchars($this->_var['group_buy']['goods_name']); ?>" /></a>
					</div>
					<div class="f_l txtwid">
					<?php echo $this->_var['lang']['gb_goods_name']; ?><a href="<?php echo $this->_var['group_buy']['url']; ?>"><font class="f14b"><?php echo htmlspecialchars($this->_var['group_buy']['goods_name']); ?></font></a><br />
					<?php echo $this->_var['lang']['act_time']; ?>：<font class="f1"><?php echo $this->_var['group_buy']['formated_start_date']; ?> -- <?php echo $this->_var['group_buy']['formated_end_date']; ?></font><br />
					<?php echo $this->_var['lang']['gb_price_ladder']; ?><br />
					<br />
					<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
					 <tr>
							<th width="29%" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['gb_ladder_amount']; ?></th>
						 <th width="71%" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['gb_ladder_price']; ?></th>
						</tr>
						<?php $_from = $this->_var['group_buy']['price_ladder']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?>
						<tr>
							<td width="29%" bgcolor="#FFFFFF"><?php echo $this->_var['item']['amount']; ?></td>
						 <td width="71%" bgcolor="#FFFFFF"><?php echo $this->_var['item']['formated_price']; ?></td>
						</tr>
						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</table>
					</div>
				</div>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				<?php else: ?>
				 <div class="tips"><?php echo $this->_var['lang']['group_goods_empty']; ?></div>
				<?php endif; ?>	
	</div>			
	</div>
	 
<?php echo $this->fetch('library/cat_goods.lbi'); ?>
<?php echo $this->fetch('library/brand_goods.lbi'); ?>

	<script type="text/javascript">divheight("GroupList");</script>	
	<?php echo $this->fetch('library/pages.lbi'); ?>
	</div>
</div>
<div class="block">
<div class="blank23"></div>
<?php echo $this->fetch('library/help.lbi'); ?>
</div>
<div class="blank23"></div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
</body>
</html>
